﻿#ifndef POSTCOMMAND_CMDSAVEPOSTMARKERADDSETTINGDATA_H
#define POSTCOMMAND_CMDSAVEPOSTMARKERADDSETTINGDATA_H

#include "CommandManager/CommandBase.h"
#include <QString>

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSavePostMarkerAddSettingData : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSavePostMarkerAddSettingData();
        ~CmdSavePostMarkerAddSettingData();

        bool execute() override;
        void undo() override;
        void redo() override;

        void savePostMarkerAddSettingData(int windowUniversalID, int infomationGraph3DBasicalId, int type,
                                          int fieldIndex, QString fieldName, int pickedId, QString pickedValue);

    private:

        int m_windowUniversalID;
        int m_infomationGraph3DBasicalId;
        int m_type;
        int m_fieldIndex;
        QString m_fieldName;
        int m_pickedId;
        QString m_pickedValue;

    };
} // namespace PostCommand

#endif
